import request from '@/utils/request'

// 新建合同流程记录列表
export function flowLists(params?: Record<string, any>) {
    return request.get({ url: '/flow/list', params })
}

// 新建合同流程记录详情
export function flowDetail(params: Record<string, any>) {
    return request.get({ url: '/flow/detail', params })
}

// 新建合同流程记录新增
export function flowAdd(params: Record<string, any>) {
    return request.post({ url: '/flow/add', params })
}

// 新建合同流程记录编辑
export function flowEdit(params: Record<string, any>) {
    return request.post({ url: '/flow/edit', params })
}

// 新建合同流程记录删除
export function flowDelete(params: Record<string, any>) {
    return request.post({ url: '/flow/del', params })
}
